vvvvllllCCCCrrrreeeeaaaatttteeeeBBBBuuuuffffffffeeeerrrr creates and returns a handle to a buffer which can then be
registered with a path and used to send or receive video data.
A _V_L_B_u_f_f_e_r consists of a list of frame-sized regions of memory each with
an associated header block. Buffers are needed for transferring data to
or from memory nodes. To receive a frame, the reader calls one of
vvvvllllGGGGeeeettttNNNNeeeexxxxttttVVVVaaaalllliiiidddd or vvvvllllGGGGeeeettttLLLLaaaatttteeeessssttttVVVVaaaalllliiiidddd , and to free that frame calls
vvvvllllPPPPuuuuttttFFFFrrrreeeeeeee. To send a frame, the writer calls vvvvllllGGGGeeeettttNNNNeeeexxxxttttFFFFrrrreeeeeeee, copies the
data to be sent into the acquired buffer, and then vvvvllllPPPPuuuuttttVVVVaaaalllliiiidddd to send
that frame.
Various controls affect buffer size. Setting controls which affect frame
size should be done prior to calling vvvvllllCCCCrrrreeeeaaaatttteeeeBBBBuuuuffffffffeeeerrrr.... These controls
include VL_CAP_TYPE, VL_PACKING, VL_SIZE, VL_ZOOM, VL_OFFSET and
VL_TIMING.
vvvvllllDDDDeeeessssttttrrrrooooyyyyBBBBuuuuffffffffeeeerrrr destroys a buffer and frees any associated resources.
DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
vlCreateBuffer returns a buffer handle upon successful completion.
Otherwise, NULL is returned and _v_l_E_r_r_n_o is set to indicate the error.
vlDestroyBuffer returns 0 if the server handle is valid, otherwise it